package com.ljy.my_study.spring.循环依赖.core;

import java.util.List;
import java.util.Map;

public class MyBeanDefinition<T> {

    private String beanName;

    private String classUrl;

    private Class clazz;

    private Map<String,Object> fieldMap;

    //0,1,2：开始初始化，初始化过程中，初始化完成
    private Integer state;

    private T t;

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getClassUrl() {
        return classUrl;
    }

    public void setClassUrl(String classUrl) {
        this.classUrl = classUrl;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public Map<String, Object> getFieldMap() {
        return fieldMap;
    }

    public void setFieldMap(Map<String, Object> fieldMap) {
        this.fieldMap = fieldMap;
    }
}
